package cn.rkylin.oms.salespromotion.rules.dao;

import java.util.List;
import java.util.Map;

import cn.rkylin.oms.salespromotion.rules.domain.SalesPromotionShop;

public interface ISalesPromotionShopDAO {
    /**
     * 根据规则ID删除店铺
     * @param shopRuleId
     * @return
     */
    int deleteByRuleId(String shopRuleId)  throws Exception;

    /**
     * 新增店铺
     * @param record
     * @return
     */
    int insert(SalesPromotionShop record)  throws Exception;

    /**
     * 根据规则ID获取店铺列表
     * @param shopRuleId
     * @return
     */
    List<SalesPromotionShop> selectByRuleId(String ruleId)  throws Exception;

}